<?php
namespace app\model;

use Lonicera\core\Model;
class User extends Model{
	//都是public属性
	public $id;
	public $age;
	public $name;
	protected $rule = ['pk'=>'id','pkStrategy'=>'generator'];
}